package com.biz.primus.ms.depot.dao.repository;

import com.biz.primus.model.depot.vo.DepotQueryReqVo;
import com.biz.primus.ms.depot.dao.po.Depot;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.NoRepositoryBean;


/**
 * @author zhangcheng
 * @date 2016/12/12
 * @reviewer
 * @see
 */
@NoRepositoryBean
public interface DepotDao {

    /**
     * 门店搜索方法
     *
     * @param pageable 分页对象
     * @param vo       搜索参数对象
     * @return Page<Depot>
     */
    Page<Depot> searchDepots(final DepotQueryReqVo vo, Pageable pageable);
}
